home *** CD-ROM | disk | FTP | other *** search
- Path: lrz-muenchen.de!news
- From: watzka@stat.uni-muenchen.de (Kurt Watzka)
- Newsgroups: comp.lang.c
- Subject: Re: Float to String
- Date: 27 Mar 1996 18:49:34 GMT
- Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
- Distribution: world
- Message-ID: <4jc2ju$6gm@sparcserver.lrz-muenchen.de>
- References: <4is29s$h1a@dfw-ixnews6.ix.netcom.com> <DoxG0L.H1A@news.cern.ch> <4jbiga$69p@news1.mnsinc.com>
- NNTP-Posting-Host: sun2.lrz-muenchen.de
-
- huang@mnsinc.com (Szu-Wen Huang) writes:
-
- >Maurizio Loreti (loreti@mxsld2.pd.infn.it) wrote:
- >: In article <4is29s$h1a@dfw-ixnews6.ix.netcom.com>, scoshe@ix.netcom.com(Christopher Scott Shelton ) writes:
- >: >Is it possible to convert a float to a string? like the itoa function.
-
- >: Yes.
-
- >Maurizio, there are two types of people who read your post:
-
- >1. Those that know the answer
- >2. Those that don't know the answer
-
- >Unless you're trying to be funny, the first type doesn't care what you
- >write, and the second type won't care unless you tell them the answer.
- >Since you exerted the effort to post a reply, perhaps it will not strain
- >you too much to mention the function 'sprintf()'?
-
- I think I know the answer, so I might belong to the first group. Anyway,
- I think that Maurizio _answered_ Mr. Shelton's question. If Mr. Shelton
- had had a look at the FAQ (even searching it for "itoa" might have given
- him a hint), he would not have wondered whether it is possible to
- convert a float to a string.
-
- Kurt
- --
- | Kurt Watzka Phone : +49-89-2180-6254
- | watzka@stat.uni-muenchen.de
- | ua302aa@sunmail.lrz-muenchen.de
-